package com.dkm.orproject.dkmoa.service.flow;

import com.dkm.orproject.dkmoa.domain.OaFlow;

import java.util.List;

/**
 * @ClassName : OaFlowService  //类名
 * @Description : 流程管理服务接口  //描述
 * @Author : 易嵘  //作者
 * @Date: 2020-08-27 08:46  //时间
 */
public interface OaFlowService {
    List<OaFlow> findAll(OaFlow flow, String startTime, String endTime, Integer page, Integer limit);

    Long rowCount(OaFlow flow, String startTime, String endTime);

    OaFlow findById(Long id);

    List<OaFlow> findKeyword(String key);

    int update(OaFlow flow, String ids, String personnelName);

    int add(OaFlow flow, String ids, String personnelName);

    List<OaFlow> selectAll(List<Long> list);

    int deleteAll(List<Long> list);

    int deleteById(Long id);
}
